package VN.EDU.IMIC.PROJECTLEADER.NGUYENVANDOAN.ARRAY_SAMPLE.SAMPLE03;

public class CONTROLLERS {
    private MODELS m_objModels = null;

    public CONTROLLERS() {
        m_objModels = new MODELS();
    }

    public String IndexMaxString(int[] myList, int iValue) {
        return m_objModels.IndexMaxStringElements(myList, iValue);
    }

    public int[] IndexMaxValue(int[] myList, int iValue) {
        return m_objModels.IndexMaxElement(myList, iValue);
    }

    public int FindMaxValue(int[] myList) {
        return m_objModels.FindMaxElement(myList);
    }

    public int FindMinValue(int[] myList) {
        return m_objModels.FindMinElement(myList);
    }
}
